class TCmd {
    constructor() {
        this.type = "";
        this.value = "";
    }
}


class AbsSubAction {
    constructor() {
        this.mainCMD = "unkown";
    }

    actCMD(type, val, mainctl) {
        let actRst = mainctl.m_pEditINTF.sendCMD2SubEditControler(this.mainCMD,type);
        return actRst;
    }

    act2InPlottingCMD(type,mainctl){
        return mainctl.m_pEditINTF.modifyDrawingGraphByCMD(this.mainCMD,type);
    }

    actCanvasEvt(evt,mainctl) {
        return null;
    }
}

export default { AbsSubAction, TCmd }